<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link rel="stylesheet" href="css/style-1.css">
    <script src="js/jquery-3.2.1.min.js"></script>
</head>
<body>
    <div class="warper">
        <div class="header-inner">
            <div class="header">
                <div class="header-t-i">
                    <div class="header-top clearfix">
                        <div class="top-left">
                            <ul class="nav-1 clearfix">
                                <li class="btn1"><img src="images/sy-header-btn1.png" alt=""><a href="index.html">首页</a></li>
                                <li class="btn2"><a href="index-1.html">商家入驻</a></li>
                                <li class="btn2"><a href="index-2.html">企业采购</a></li>
                                <li class="btn2"><a href="index-3.html">全屋家电套购</a></li>
                                <li class="btn2"><a href="index-4.html">会员福利社</a></li>
                            </ul>
                        </div>
                        <div class="top-right clearfix">
                            <a href="" class="a-1"><img src="images/sy-top-right-img1.png" alt=""></a>
                            <a href="" class="a-2"><img src="images/sy-top-right-img2.png" alt=""></a>
                            <a href="" class="a-2"><img src="images/sy-top-right-img3.png" alt=""></a>
                            <a href="" class="a-2"><img src="images/sy-top-right-img4.png" alt=""></a>
                            <a href="" class="a-3">登录</a>
                        </div>
                    </div>
                </div>
                <div class="header-middle">
                    <p>【通知】1、新疆区域因交通管制无法正常发货，恢复时间待定 2、由于洗衣机与部分小家电仓库年底大盘点，30-31日无法发货，1月1日将按订单顺序发货，敬请谅解 3. 部分会员积分将于18年年底到期，快去“会员福利社”兑换奖品吧</p>
                </div>
                <div class="header-b-i">
                    <div class="header-bottom">
                        <a href="" class="a1"><img src="images/sy-header-bottom-img1.png" alt="">&nbsp;美的集团唯一官方商城</a>
                        <a href="" class="a2"><img src="images/sy-header-bottom-img2.png" alt="">&nbsp;全场包邮/全国联保</a>
                        <a href="" class="a2"><img src="images/sy-header-bottom-img3.png" alt="">&nbsp;微信/支付宝快捷支付</a>
                        <a href="" class="a3"><img src="images/sy-header-bottom-img4.png" alt="">&nbsp;7天无理由退换货</a>
                    </div>
                </div>

            </div>
        </div>
        <div class="banner-inner">
            <div class="banner">
                <div class="banner-lb">
                    <div class="banner-lb-pic">
                        <a href="#"><img src="images/sy-banner-bg.jpg" alt=""></a>
                        <a href="#"><img src="images/sy-lb-2.png" alt=""></a>
                        <a href="#"><img src="images/sy-lb-3.jpg" alt=""></a>
                        <a href="#"><img src="images/sy-lb-4.png" alt=""></a>
                    </div>
                    <div class="banner-sj">
                        <a href="#" class="sj1 prev">&lt;</a>
                        <a href="#" class="sj1 next">&gt;</a>
                    </div>
                    <div class="banner-yd">
                        <a href="#" class="yd1 yd1-active"></a>
                        <a href="#" class="yd1"></a>
                        <a href="#" class="yd1"></a>
                        <a href="#" class="yd1"></a>
                    </div>
                </div>
                <div class="banner-top">
                    <ul class="banner-nav clearfix">
                        <li><img src="images/sy-banner-top-btn1.png" alt=""><a href="">空调 &nbsp; &nbsp; &nbsp;壁挂式</a></li>
                        <li><img src="images/sy-banner-top-btn2.png" alt=""><a href="">冰箱 &nbsp; &nbsp; &nbsp;三门冰箱</a></li>
                        <li><img src="images/sy-banner-top-btn3.png" alt=""><a href="">洗衣机 &nbsp; &nbsp; &nbsp;滚筒洗衣机 </a></li>
                        <li><img src="images/sy-banner-top-btn4.png" alt=""><a href="">厨房小电 &nbsp; &nbsp; &nbsp;电饭煲</a></li>
                        <li><img src="images/sy-banner-top-btn5.png" alt=""><a href="">厨房大电 &nbsp; &nbsp; &nbsp;烟灶套装</a></li>
                        <li><img src="images/sy-banner-top-btn6.png" alt=""><a href="">生活家电 &nbsp; &nbsp; &nbsp;电暖器 </a></li>
                        <li><img src="images/sy-banner-top-btn7.png" alt=""><a href="">热水器/净水 &nbsp; &nbsp; &nbsp;热水器 </a></li>
                        <li><img src="images/sy-banner-top-btn8.png" alt=""><a href="">配件及周边 &nbsp; &nbsp; &nbsp;清洗服务</a></li>
                    </ul>
                </div>
                <div class="banner-bottom clearfix">
                    <div class="bottom-1">
                        <p class="p1">酷晨&卡菲塔利</p>
                        <p class="p2">为您创造生活仪式感</p>
                        <img src="images/sy-banner-bottom-1-img1.png" alt="">
                    </div>
                    <div class="bottom-2">
                        <p class="p1">美的喜悦家</p>
                        <p class="p2">专业家电清洗服务</p>
                        <img src="images/sy-banner-bottom-2-img2.png" alt="">
                    </div>
                    <div class="bottom-3">
                        <p class="p1">全屋家电套购</p>
                        <p class="p2">多优惠套餐&专享服务</p>
                        <img src="images/sy-banner-bottom-3-img3.png" alt="">
                    </div>
                    <div class="bottom-4">
                        <p class="p1">比弗利品牌专区</p>
                        <p class="p2">精雕细琢 匠心造物</p>
                        <img src="images/sy-banner-bottom-4-img4.png" alt="">
                    </div>
                </div>
            </div>
        </div>
        <div class="main-inner">
            <div class="main">
                <div class="main-1">
                    <div class="main-1-top">
                        <a href="" class="a1">明星产品</a>
                        <a href="" class="a2">STAR</a>
                    </div>
                    <div class="main-1-middle">
                        <div class="main-1-top-left clearfix">
                            <div class="left-1">
                                <img src="images/sy-main-1-middle-left-img1.png" alt="">
                                <p>空调大1匹定速挂机 智能冷暖</p>
                            </div>
                            <div class="left-2 clearfix">
                                <div class="left-2-1">
                                    <img src="images/sy-main-1-middle-left-btn1.png" alt="">
                                    <p>智能自清洁</p>
                                </div>
                                <div class="left-2-2">
                                    <img src="images/sy-main-1-middle-left-btn2.png" alt="">
                                    <p>大1匹</p>
                                </div>
                                <div class="left-2-3">
                                    <img src="images/sy-main-1-middle-left-btn3.png" alt="">
                                    <p>WIFI 智控</p>
                                </div>
                            </div>
                            <div class="left-3">
                                <p>￥1899.00</p>
                            </div>
                        </div>
                        <div class="main-1-top-right">
                            <div class="main-1-right-top clearfix">
                                <div class="main-1-a">
                                    <a href="" class="in-1"><img src="images/sy-xsyh.png" alt="" ></a>
                                    <img src="images/sy-main-right-top-a.png" alt="" class="in-2">
                                    <p class="p1">电烤箱一键菜单烘焙新手适用</p>
                                    <p class="p2">￥359.00</p>
                                </div>
                                <div class="main-1-b">
                                    <a href="" class="in-1"><img src="images/sy-zxj.png" alt="" ></a>
                                    <img src="images/sy-main-top-right-b.png" alt="" class="in-2">
                                    <p class="p1">【旅行折叠水壶】小巧便携 奶嘴级材质 耐高温</p>
                                    <p class="p2">￥139.00</p>
                                </div>
                            </div>
                            <div class="main-1-right-bottom clearfix">
                                <div class="main-2-a">
                                    <img src="images/sy-main-top-right-bottom-a.png" alt="" class="in-1">
                                    <p class="p1">整机防烫伤 速热节能 大范围取暖</p>
                                    <p class="p2">￥649.00</p>
                                </div>
                                <div class="main-2-b">
                                    <a href="" class="in-1"><img src="images/sy-ydth.png" alt=""></a>
                                    <img src="images/sy-main-bottom-right-b.png" alt="" class="in-2">
                                    <p class="p1">花生净水机 无罐400G大通量 专利双芯</p>
                                    <p class="p2">￥1898.00</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="main-1-bottom clearfix">
                        <div class="main-1-top-left clearfix">
                            <div class="main-1-top-left-t clearfix">
                                <div class="main-1-t-left">
                                    <p class="p1">极光烟机侧吸烟灶套装</p>
                                    <img src="images/sy-main-bottom-t-left-img1.png" alt="">
                                    <p class="p2">￥3680.00</p>
                                </div>
                                <div class="main-1-t-right">
                                    <img src="images/sy-main-bottom-t-right-img1.png" alt="">
                                </div>
                            </div>
                            <div class="main-1-top-left-b">
                                <div class="main-1-left-b-1">
                                    <a href="" class="in-1"><img src="images/sy-ydthq.png" alt=""></a>
                                    <img src="images/sy-main-1-left-b-1.png" alt="" class="in-2">
                                    <p class="p1">双门电冰箱 智能变频风冷无霜</p>
                                    <p class="p2">￥3599.00</p>
                                </div>
                                <div class="main-1-left-b-2">
                                    <a href="" class="in-1"><img src="images/sy-ydth.png" alt=""></a>
                                    <img src="images/sy-main-1-bottom-right-2.png" alt="" class="in-2">
                                    <p class="p1">云朵电热水器 变频速热 语音互联</p>
                                    <p class="p2">￥1249.00</p>
                                </div>
                            </div>
                        </div>
                        <div class="main-1-top-right2">
                            <img src="images/sy-main-1-bottom-right-img1.png" alt="" class="in-1">
                            <p class="p1">10kg变频 深层除螨 全智能洗烘一体机</p>
                            <img src="images/sy-main-1-bottom-right-img2.png" alt="" class="in-2">
                            <p class="p2">￥2999.00</p>
                        </div>
                        <div class="djs clearfix">
                            <p>限时优惠 距离结束还有</p>
                            <div id="date" style="color:#ff6600;font-size:26px"></div>
                        </div>
                    </div>
                </div>
                <div class="main-2">
                    <div class="main-2-top">
                        <a href="" class="a1">会员专区</a>
                        <a href="" class="a2">更多会员福利 ></a>
                    </div>
                    <div class="main-2-bottom">
                        <div class="main-2-bottom-1">
                            <img src="images/sy-main-2-bottom-1-img.png" alt="">
                            <p class="p1">会员中心</p>
                            <p class="p2">每日20号 权益享不停</p>
                            <a href=""><button>立即查看</button></a>
                        </div>
                        <div class="main-2-bottom-2">
                            <img src="images/sy-main-2-bottom-2-img.png" alt="">
                            <p class="p1">美的积分兑换</p>
                            <p class="p2">海量福利 等你来兑</p>
                            <a href=""><button>立即兑换</button></a>
                        </div>
                        <div class="main-2-bottom-3">
                            <img src="images/sy-main-2-bottom-3-img.png" alt="">
                            <p class="p1">10积分抽家电大奖</p>
                            <p class="p2">小积分 转大奖</p>
                            <a href=""><button>立即抽奖</button></a>
                        </div>
                        <div class="main-2-bottom-4">
                            <img src="images/sy-main-2-bottom-4-img.png" alt="">
                            <p class="p1">我的权益</p>
                            <p class="p2">新等级 新权益</p>
                            <a href=""><button>立即查看</button></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="footer-inner">
            <div class="footer">
                <div class="footer-top">
                    <ul>
                        <li><a href="">商家入驻</a></li>
                        <li><a href="">服务条款</a></li>
                        <li><a href="">隐私政策</a></li>
                        <li><a href="">联系我们</a></li>
                        <li><a href="">帮助中心</a></li>
                        <li><a href="">服务支持</a></li>
                    </ul>
                </div>
                <div class="footer-bottom">
                    <p class="p1">Copyright © 1968-2019 广东美的网络科技有限公司 粤ICP备17058257号&nbsp;</p>
                    <img src="images/sy-footer-btn.png" alt="">
                    <p class="p2">&nbsp;粤公网安备 44060602000546号</p>
                </div>
            </div>
        </div>
    </div>
</body>
<script>
    $(function () {
        var ind=0;
        $(".banner-lb-pic a:not(:first-child)").hide();
        $(".banner-yd a").click(function () {
            ind=$(this).index();
            $(".banner-lb-pic a").eq(ind).fadeIn(1000).siblings().fadeOut();
            $(this).addClass("yd1-active").siblings().removeClass("yd1-active");
        });
        $(".banner-sj .prev").click(prev);
        function prev(){
            if(ind !=0){
                ind--;
                $(".banner-lb-pic a").eq(ind).fadeIn(1000).siblings().fadeOut();
                $(".banner-yd a").eq(ind).addClass("yd1-active").siblings().removeClass("yd1-active");
            }
        }
        $(".banner-sj .next").click(function () {
            if(ind !=$(".banner-lb-pic a").length-1){
                ind++;
                $(".banner-lb-pic a").eq(ind).fadeIn(1000).siblings().fadeOut();
                $(".banner-yd a").eq(ind).addClass("yd1-active").siblings().removeClass("yd1-active");
            }
        });
        var intervall=setInterval(subb,3000);
        function subb(){
            if(ind !=$(".banner-lb-pic a").length-1){
                ind++;
                $(".banner-lb-pic a").eq(ind).fadeIn(1000).siblings().fadeOut();
                $(".banner-yd a").eq(ind).addClass("yd1-active").siblings().removeClass("yd1-active");
            }else{
                ind=0;
                $(".banner-lb-pic a").eq(ind).fadeIn(1000).siblings().fadeOut();
                $(".banner-yd a").eq(ind).addClass("yd1-active").siblings().removeClass("yd1-active")
            }
        }
        $(".banner-lb").mouseenter(function () {
            clearInterval(intervall);
        }).mouseleave(function () {
            intervall=setInterval(subb,3000);
        });
        var now=new Date();
        var end=new Date(2019,11,31,17,00,00);
        var result=Math.floor(end-now)/1000;
        var interval=setInterval(sub,1000);
        function sub() {
            if(result>1){
                result=result -1;
                var second=Math.floor(result % 60);
                var minite=Math.floor((result / 60) % 60);
                var hour=Math.floor((result / 3600) % 24 );
                var day=Math.floor(result / 3600 / 24);
                $("#date").text("还剩"+day+"天"+hour+"小时"+minite+"分钟"+second+"秒");
            }else{
                alert("倒计时结束");
                window.clearInterval(interval);
            }
        }
    })
</script>
</html>